﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TemplateUser.Master" Inherits="System.Web.Mvc.ViewPage<MvcVehicleInsurance.Models.CustomerPolicyRecord>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <h3>insurance</h3>
        <div class="display-field"><%: Model.policyNumber %></div><br />

        // nhin cai tren day ma doi sao cho no giong vay nha//
        //cai tren la mau day nhin lam the//

        <div class="display-label">policydate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.policydate) %></div>
        
        <div class="display-label">policyDuration</div>
        <div class="display-field"><%: Model.policyDuration %></div>
        
        <div class="display-label">policyDescribe</div>
        <div class="display-field"><%: Model.policyDescribe %></div>
        
        <div class="display-label">CompanyID</div>
        <div class="display-field"><%: Model.CompanyID %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

